package com.jcw.kqxt.domain;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qinhui
 * @since 2022-03-02
 */
@TableName("t_auth")
@Data
public class Auth{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 权限字符串
     */
    private String authorities;
    /**
     * 角色
     */
    @TableField("role_id")
    private Long roleId;
}
